package com.beans;

import com.commons.util.Constants;
import com.commons.util.DateUtil;

import java.math.BigDecimal;
import java.util.Date;

public class Neighborhood extends BaseBean {
    private Long nbhId;

    private String nbhName;//小区名称

    private Integer buildingInput;//已录入楼栋数

    private Integer buildingTotal;//总楼栋数

    private Long residenters;//总户数

    private String district;//所属区域

    private String address;//楼盘地址

    private Date buildingYears;//建筑年代

    private String developmentCompany;//开发公司

    private String propertyManager;//物业公司

    private Float propertyFee;//物业费

    private Integer buildingType;//建筑类型

    private Integer ageLimit;//产权年限

    private String parkingCondition;//车位状况

    private String greeningRate;//绿化率

    private Long totalArea;//总占地

    private BigDecimal lon;//经度

    private BigDecimal lat;//纬度

    private String districtName;
    private Long fzId;

    public Long getFzId() {
        return fzId;
    }

    public void setFzId(Long fzId) {
        this.fzId = fzId;
    }

    public Long getNbhId() {
        return nbhId;
    }

    public void setNbhId(Long nbhId) {
        this.nbhId = nbhId;
    }

    public String getNbhName() {
        return nbhName;
    }

    public void setNbhName(String nbhName) {
        this.nbhName = nbhName == null ? null : nbhName.trim();
    }

    public Integer getBuildingInput() {
        return buildingInput;
    }

    public void setBuildingInput(Integer buildingInput) {
        this.buildingInput = buildingInput;
    }

    public Integer getBuildingTotal() {
        return buildingTotal;
    }

    public void setBuildingTotal(Integer buildingTotal) {
        this.buildingTotal = buildingTotal;
    }

    public Long getResidenters() {
        return residenters;
    }

    public void setResidenters(Long residenters) {
        this.residenters = residenters;
    }

    public String getDistrict() {
        return district;
    }

    public void setDistrict(String district) {
        this.district = district == null ? null : district.trim();
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }

    public String getBuildingYears() {
        return DateUtil.dateToString(buildingYears, Constants.DATE_FORMART);
    }

    public void setBuildingYears(Date buildingYears) {
        this.buildingYears = buildingYears;
    }

    public String getDevelopmentCompany() {
        return developmentCompany;
    }

    public void setDevelopmentCompany(String developmentCompany) {
        this.developmentCompany = developmentCompany == null ? null : developmentCompany.trim();
    }

    public String getPropertyManager() {
        return propertyManager;
    }

    public void setPropertyManager(String propertyManager) {
        this.propertyManager = propertyManager == null ? null : propertyManager.trim();
    }

    public Float getPropertyFee() {
        return propertyFee;
    }

    public void setPropertyFee(Float propertyFee) {
        this.propertyFee = propertyFee;
    }

    public Integer getBuildingType() {
        return buildingType;
    }

    public void setBuildingType(Integer buildingType) {
        this.buildingType = buildingType;
    }

    public Integer getAgeLimit() {
        return ageLimit;
    }

    public void setAgeLimit(Integer ageLimit) {
        this.ageLimit = ageLimit;
    }

    public String getParkingCondition() {
        return parkingCondition;
    }

    public void setParkingCondition(String parkingCondition) {
        this.parkingCondition = parkingCondition == null ? null : parkingCondition.trim();
    }

    public String getGreeningRate() {
        return greeningRate;
    }

    public void setGreeningRate(String greeningRate) {
        this.greeningRate = greeningRate;
    }

    public Long getTotalArea() {
        return totalArea;
    }

    public void setTotalArea(Long totalArea) {
        this.totalArea = totalArea;
    }

    public BigDecimal getLon() {
        return lon;
    }

    public void setLon(BigDecimal lon) {
        this.lon = lon;
    }

    public BigDecimal getLat() {
        return lat;
    }

    public void setLat(BigDecimal lat) {
        this.lat = lat;
    }

    public String getDistrictName() {
        return districtName;
    }

    public void setDistrictName(String districtName) {
        this.districtName = districtName;
    }
}